//
//  ImageDataManager.h
//  SouDog
//
//  Created by  on 15/8/18.
//  Copyright (c) 2015年 @SHui. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DBModel.h"

@interface ImageDataManager : NSObject

// 单例获取管理者
+ (id)sharedImageDataManager;

// 判断该图片数据是否存在
- (BOOL)isImageDataExistByDBModel:(DBModel *)model;


// 添加图片数据
- (BOOL)addImageDataWithDBModel:(DBModel *)model;

// 删除图片数据
- (BOOL)deleteImageDataWithDBmodel:(DBModel *)model;

// 获取数据
- (NSDictionary *)fetchImageWithDBModel:(DBModel *)model;


//- (BOOL)isDataExistByDBModel:(DBModel *)model;
//- (BOOL)addDataWithDBModel:(DBModel *)model;
//- (BOOL)deleteDataWithDBmodel:(DBModel *)model;
//
//- (NSDictionary *)fetchWithDBModel:(DBModel *)model;

@end
